<?php
// $ac = '16ucom';
// $pw = 'c33367701511b4f6020ec61ded352059';
// $s  = new SoapClient(null,array("location" => "http://localhost/open/openService/pft_insideMX_ttt.php","uri" => "www.16u.com?ac_16u=$ac|pw_16u=$pw|auth_16u=true"));

// echo $s->a();

// echo file_get_contents('http://localhost/open/openService/pft_insideMX_ttt.php');
// $client = new SoapClient(null, array('uri'=>'checkAPI', 'location'=>'http://121.43.119.39/open/openService/pft_insideMX_ttt.php', 'trace'=>true));
// $client->__call('Send',array());
class MySoapClient extends SoapClient
{
    public function __doRequest($request, $location, $action, $version, $one_way = 0)
    {
        $response = parent::__doRequest($request, $location, $action, $version, $one_way);
        // parse $response, extract the multipart messages and so on
        
        //this part removes stuff
        $start=strpos($response,'<?xml');
        $end=strrpos($response,'>');    
        $response_string=substr($response,$start,$end-$start+1);
        return($response_string);
    }
}



$client = new SoapClient(null, array('uri'=>'s', 'location'=>'http://121.43.119.39/open/openService/pft_insideMX_ttt.php'));
echo $client->__call('Send',array());